package com.xiaorun.portal.service;

import com.github.pagehelper.PageInfo;
import com.xiaorun.portal.modal.Vo.Carousel;

import java.util.List;
import java.util.Map;

public interface ICarouselService {

    List<Carousel> list(Map<String,Object> params);

    PageInfo<Carousel> list(int pageNum, int pageSize, Map<String,Object> params);

    Carousel get(int id);

    int remove(int id);

    int save(Carousel carousel);

    int countTotal(Map<String,Object> params);
}
